package soen343.application.presentation;

import soen343.domain.Question;

public class QuestionSnippetJSPFactory {
	private static final String BASE_DIR = "WEB-INF/JSP/include/";
	private static final String JSP_SUFFIX = "Snippet.jsp";

	public static String getEditJSPSnippet(Question q) {
		return BASE_DIR + "Edit" + q.getClass().getSimpleName() + JSP_SUFFIX;
	}
	
	public static String getStaticJSPSnippet(Question q) {
		return BASE_DIR + "Static" + q.getClass().getSimpleName() + JSP_SUFFIX;
	}
	
	public static String getPreviewJSPSnippet(Question q) {
		return BASE_DIR + "Preview" + q.getClass().getSimpleName() + JSP_SUFFIX;
	}
}
